import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
Vue.use(VueRouter)

  const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  // {
  //   path: '/about',
  //   name: 'About',
  //   // route level code-splitting
  //   // this generates a separate chunk (about.[hash].js) for this route
  //   // which is lazy-loaded when the route is visited.
  //   component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  // },
  
  //  白雪峰
  {
    path: '/peiyao',
    name: 'Peiyao',
    // 配药
    component: () => import(/* webpackChunkName: "about" */ '../views/Bai_xf/Peiyao.vue')
  },
  {
    path: '/chuangfang_zhifu',
    name: 'Chuangfang_zhifu',
    // 传方支付
    component: () => import(/* webpackChunkName: "about" */ '../views/Bai_xf/Chuangfang_zhifu.vue')
  },
  {
    path: '/chuangfang_ziqu',
    name: 'Chuangfang_ziqu',
    // 自取
    component: () => import(/* webpackChunkName: "about" */ '../views/Bai_xf/Chuangfang_ziqu.vue')
  },
  {
    path: '/ding_xiangqing',
    name: 'Ding_xiangqing',
    // 订单详情
    component: () => import(/* webpackChunkName: "about" */ '../views/Bai_xf/Ding_xiangqing.vue')
  },
  {
    path: '/geren_zhongxin',
    name: 'Geren_zhongxin',
    // 个人中心
    component: () => import(/* webpackChunkName: "about" */ '../views/Bai_xf/Geren_zhongxin.vue')
  },
  {
    path: '/shou_dizhi',
    name: 'Shou_dizhi',
    // 售后地址
    component: () => import(/* webpackChunkName: "about" */ '../views/Bai_xf/Shou_dizhi.vue')
  },
    //  高吉峰
    {
      path: '/gou_wuche',
      name: 'Gou_wuche',
      component: () => import(/* webpackChunkName: "about" */ '../views/G_jifeng/Gou_wuche.vue')
    },
    {
      path: '/home',
      name: 'Home',
      component: () => import(/* webpackChunkName: "about" */ '../views/G_jifeng/Home.vue')
    },
    {
      path: '/index',
      name: 'Index',
      component: () => import(/* webpackChunkName: "about" */ '../views/G_jifeng/Index.vue')
    },
    {
      path:'/sou',
      name:'Sou',
      component: () => import(/* webpackChunkName: "about" */ '../views/G_jifeng/Sou.vue')
    },
    {
      path:'/yisheng',
      name:'Yisheng',
      component: () => import(/* webpackChunkName: "about" */ '../views/G_jifeng/Yisheng.vue')
    },
    {
      path:'/yuyue_date',
      name:'Yuyue_date',
      component: () => import(/* webpackChunkName: "about" */ '../views/G_jifeng/Yuyue_date.vue')
    },
    // 张天赐
    {
      path:'/add_shoudizhi',
      name:'Add_shoudizhi',
      component: () => import(/* webpackChunkName: "about" */ '../views/ZTC/Add_shoudizhi.vue')
    },
    {
      path:'/shouhou_shenqing',
      name:'Shouhou_shenqing',
      component: () => import(/* webpackChunkName: "about" */ '../views/ZTC/Shouhou_shenqing.vue')
    },
    {
      path:'/shouhou_yuanyin',
      name:'Shouhou_yuanyin',
      component: () => import(/* webpackChunkName: "about" */ '../views/ZTC/Shouhou_yuanyin.vue')
    },
    {
      path:'/woder_dingdan',
      name:'Woder_dingdan',
      component: () => import(/* webpackChunkName: "about" */ '../views/ZTC/Woder_dingdan.vue')
    },
    {
      path:'/woder_yuyue',
      name:'Woder_yuyue',
      component: () => import(/* webpackChunkName: "about" */ '../views/ZTC/Woder_yuyue.vue')
    },
    {
      path:'/wuliu_gen',
      name:'Wuliu_gen',
      component: () => import(/* webpackChunkName: "about" */ '../views/ZTC/Wuliu_gen.vue')
    },
    // 张茹
    {
      path:'/dingdan_xiangqing',
      name:'Dingdan_xiangqing',
      component: () => import(/* webpackChunkName: "about" */ '../views/zru/Dingdan_xiangqing')
    },
    {
      path:'/list_xiangqing',
      name:'List_xiangqing',
      component: () => import(/* webpackChunkName: "about" */ '../views/zru/List_xiangqing')
    },
    {
      path:'/list',
      name:'List',
      component: () => import(/* webpackChunkName: "about" */ '../views/zru/List')
    },
    {
      path:'/login',
      name:'Login',
      component: () => import(/* webpackChunkName: "about" */ '../views/zru/Login')
    },
    {
      path:'/loginHome',
      name:'LoginHome',
      component: () => import(/* webpackChunkName: "about" */ '../views/zru/LoginHome')
    },
    {
      path:'/resiter',
      name:'Resiter',
      component: () => import(/* webpackChunkName: "about" */ '../views/zru/Resiter')
    },
    // 鲁
    {
      path:'/dian_yian',
      name:'Dian_yian',
      component: () => import(/* webpackChunkName: "about" */ '../views/Lu/Dian_yian.vue')
    },
    {
      path:'/wen_sui',
      name:'Wen_sui',
      component: () => import(/* webpackChunkName: "about" */ '../views/Lu/Wen_sui.vue')
    },
    {
      path:'/yuyue_jiemian',
      name:'Yuyue_jiemian',
      component: () => import(/* webpackChunkName: "about" */ '../views/Lu/Yuyue_jiemian.vue')
    },
    {
      path:'/yuyue_dingdan',
      name:'Yuyue_dingdan',
      component: () => import(/* webpackChunkName: "about" */ '../views/Lu/Yuyue_dingdan.vue')
    },
    {
      path:'/yuyue_sceese',
      name:'Yuyue_sceese',
      component: () => import(/* webpackChunkName: "about" */ '../views/Lu/Yuyue_sceese.vue')
    },
    {
      path:'/zhifu_tishi',
      name:'Zhifu_tishi',
      component: () => import(/* webpackChunkName: "about" */ '../views/Lu/Zhifu_tishi.vue')
    },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
